package com.homework02;

/*
现有代码如下, 想要运算结果是2.5， 代码应该怎么改 ?
public class Test1 {

    public static void main(String[] args) {
        int i = 5 / 2;
        System.out.println(i);
    }
}
*/
public class work08 {
    public static void main(String[] args) {
        double i = 5 * 1.0 / 2;
        System.out.println(i);
    }
}
